﻿#pragma strict

//var angleBetween = 0.0;

//var target : Transform;
var velocity : float = 2;


var target : Transform; 


function Start () 
{

}

function Update () 
{
		transform.LookAt(target);
		Vector3.forward * velocity * Time.deltaTime;
}

/*function OnTriggerEnter (other : Collider) 
{
		Destroy(GameObject);
}*/